package com.dfbz.bigdata.modules.system.service.impl;



import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dfbz.bigdata.modules.system.doman.CommonGoods;
import com.dfbz.bigdata.modules.system.dto.CommonGoodsDto;
import com.dfbz.bigdata.modules.system.mapper.CommonGoodsMapper;
import com.dfbz.bigdata.modules.system.service.CommonGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author CL
* @description 针对表【tb_common_goods】的数据库操作Service实现
* @createDate 2022-09-23 16:24:43
*/
@Service
public class CommonGoodsServiceImpl extends ServiceImpl<CommonGoodsMapper, CommonGoods>
    implements CommonGoodsService {
    @Autowired
    private CommonGoodsMapper commonGoodsMapper;
    @Override
    public List<CommonGoodsDto> getList(Integer parent, Integer category) {

        return commonGoodsMapper.getList(parent, category);
    }
}




